//
// Created by 党清浩 on 2021/10/26.
//

#include <stdio.h>

int main(){

    int a,b;
    scanf("%d,%d",&a,&b);

    printf("1:%d>%d&&%d<%d=0\n",a,b,a,b);

    printf("2:%d<%d&&%d>%d=0\n",a,b,a,b);

    printf("3:%d<%d&&%d!=%d=1\n",a,b,a,b);

    printf("4:%d>=%d||%d<%d=1\n",a,b,a,b);

    printf("5:%d<=%d||%d>%d=1\n",a,b,a,b);

    printf("6:%d<%d||%d!=%d=1\n",a,b,a,b);

    printf("7:!%d=0\n",a);

    printf("8:!(%d==%d)=1",a,b);


    return 0;
}